function [disp_loc,matrix, netXloc, netYloc]=drawTheNodes(noOfNodes,networkSize,R)
    netXloc = rand(1,noOfNodes)*networkSize;
    netYloc = rand(1,noOfNodes)*networkSize;

    disp_loc = zeros(noOfNodes,3); % In order to make the three dimensional  array, which has node ID, X, and Y

    for i=1:noOfNodes
        disp_loc(i,1)=i;    
    end;
    disp_loc(:,2) = netXloc;
    disp_loc(:,3) = netYloc;
    %set(MarkerFaceColor,'Color',[1,0.4,0.6]);
    r = 0;
    g = 1;
    b = 0;
    [matrix] = drawNodes(noOfNodes,netXloc, netYloc, R, r, g, b);
end